using System.Collections.Generic;
using System.Threading.Tasks;
using ThridGroup.ERP.Application.Contracts.DTO;
using Volo.Abp.Application.Services;

namespace ThridGroup.ERP.Application.Contracts.ProductionSystem
{
    /// <summary>
    /// 生产报工管理服务接口
    /// </summary>
    public interface IProductionReportingService : IApplicationService
    {
        /// <summary>
        /// 添加生产报工
        /// </summary>
        Task<int> AddProductionReporting(ProductionReportingDto productionReportingDto);

        /// <summary>
        /// 获取所有生产报工
        /// </summary>
        Task<List<ProductionReportingDto>> GetProductionReportings();

        /// <summary>
        /// 获取单个生产报工
        /// </summary>
        Task<ProductionReportingDto> GetProductionReporting(int id);

        /// <summary>
        /// 更新生产报工
        /// </summary>
        Task<int> UpdateProductionReporting(ProductionReportingDto productionReportingDto);

        /// <summary>
        /// 删除生产报工
        /// </summary>
        Task DeleteProductionReporting(int id);
    }
} 